<?php
//$_POST、$_GET 用哪一个取决于表单中的method使用的是那种方式

//print_r($_GET['username']);

//print_r($_POST);
//$username = $_POST['username'];
//
//echo $username;
//$password = $_POST['password'];
//$re_password = $_POST['re_password'];
//
//if ($password != $re_password) {
//    echo '两次密码输入不一致';
//}

//print_r($_POST); find_in_set()

$hobby = $_POST['hobby'];

echo implode(',',  $hobby);

print_r($hobby);


